/*  1:   */ package org.intellij.plugins.relaxNG.compact.psi.util;
/*  2:   */ 
/*  3:   */

import com.intellij.lang.ASTNode;
import com.intellij.psi.PsiElement;
import com.intellij.util.NotNullFunction;
import org.jetbrains.annotations.NotNull;

/*  4:   */
/*  5:   */
/*  6:   */
/*  7:   */ 
/*  8:   */ public final class PsiFunction
/*  9:   */   implements NotNullFunction<ASTNode, PsiElement>
/* 10:   */ {
/* 11:30 */   public static final PsiFunction INSTANCE = new PsiFunction();
/* 12:   */   
/* 13:   */   @NotNull
/* 14:   */   public PsiElement fun(ASTNode paramASTNode)
/* 15:   */   {
/* 16:34 */     PsiElement tmp6_1 = paramASTNode.getPsi();
/* 17:34 */     if (tmp6_1 == null) {
/* 18:34 */       throw new IllegalStateException(String.format("@NotNull method %s.%s must not return null", new Object[] { "org/intellij/plugins/relaxNG/compact/psi/util/PsiFunction", "fun" }));
/* 19:   */     }
/* 20:34 */     return tmp6_1;
/* 21:   */   }
/* 22:   */ }



/* Location:           E:\idea\

 * Qualified Name:     org.intellij.plugins.relaxNG.compact.psi.util.PsiFunction

 * JD-Core Version:    0.7.0.1

 */